﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UpdateMessage.aspx.cs" Inherits="UpdateMessage" %>

<%@ Register src="top.ascx" tagname="top" tagprefix="uc1" %>
<%@ Register src="bottom.ascx" tagname="bottom" tagprefix="uc2" %>

<%@ Register assembly="FreeTextBox" namespace="FreeTextBoxControls" tagprefix="ftb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
     <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title><%=   ConfigurationSettings.AppSettings["title"]   %>-发布消息</title>
	<meta name="Keywords" content="<%=   ConfigurationSettings.AppSettings["Keywords"]   %>" />
    <meta name="description" content="<%=   ConfigurationSettings.AppSettings["description"]   %>" />
    <link href="css/header/header.css" rel="stylesheet" type="text/css" />
    <link href="css/footer/footer.css" rel="stylesheet" type="text/css" />
    <link href="css/register/register.css" rel="stylesheet" type="text/css" /> 
    
<script language="javascript" type="text/javascript">

function btnback_onclick() {
    window.history.go(-1);
}

function document.onkeydown()
{
var e=event.srcElement;
if(event.keyCode==13)
{
    document.getElementById("BAddSubmit").click();
return false;
}
}
</script>

</head>
<body>
    <form id="form1" runat="server">
    <<uc1:top ID="top1" runat="server" />
    <div  id="sendmessage">
    <table>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:HyperLink ID="hlStep" runat="server" Font-Bold="True" Font-Size="Medium" 
                    ForeColor="Red">点击查看发布消息步骤及说明</asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td>
                <h2>
                    标题：</h2>
            </td>
            <td>
                <asp:TextBox ID="TBTitle" runat="server" CssClass="textbox" Width="419px" 
                    Height="21px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <h2>
                板块：</h2>
                        </td>
            <td>
             <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <asp:DropDownList ID="ddltopic" runat="server" AppendDataBoundItems="True" 
                            AutoPostBack="True" onselectedindexchanged="ddtopic_SelectedIndexChanged">
                            <asp:ListItem Value="0">--请选择--</asp:ListItem>
                        </asp:DropDownList>
                        </ContentTemplate>
              </asp:UpdatePanel>
           </td>
        </tr>
        <tr>
            <td>
                <h2>
                    类型：</h2>
                        </td>
            <td>
            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                    <ContentTemplate>
                        <asp:DropDownList ID="ddlmudule" runat="server" AppendDataBoundItems="True" 
                            style="margin-left: 0px">
                            <asp:ListItem Value="0">--请选择--</asp:ListItem>
                        </asp:DropDownList>
                              </ContentTemplate>
              </asp:UpdatePanel>
           </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Panel ID="Panel1" runat="server" Visible="False">
                    当前操作页： 
                    <asp:Label ID="LPageNow" runat="server"></asp:Label>
                    页 
                    <asp:Button ID="BLastPage" runat="server" 
    OnClick="BLastPage_Click" Text="上页" />
                    &nbsp;<asp:DropDownList ID="DDLSelectPage" runat="server" AutoPostBack="True" 
                    
    OnSelectedIndexChanged="DDLSelectPage_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:Button ID="BNextPage" runat="server" 
    OnClick="BNextPage_Click" Text="下页" />
                    &nbsp;<asp:Button ID="BAddPage" runat="server" 
    OnClick="BAddPage_Click" Text="添加" />
                    <asp:Button ID="BDeletePage" runat="server" OnClick="BDeletePage_Click" 
                    Text="删除" />
                </asp:Panel>
                        </td>
        </tr>
        <tr>
            <td colspan="4" style="text-align: center">
                <ftb:freetextbox ID="TBBody" runat="server" 
                        buttonpath="images/ftb/office2003/" Height="600px"></ftb:freetextbox></td>
        </tr>
        <tr>
            <td colspan="2" style="text-align:center">
                <asp:Button ID="BAddSubmit" runat="server" CssClass="loginbtn" Text="修改" 
                    onclick="BAddSubmit_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="btncancel" runat="server" CssClass="loginbtn" Text="取消" 
                    onclick="btncancel_Click" />
                      <asp:HiddenField ID="HiddenField1" runat="server" />
            </td>
        </tr>

    </table>
    </div>
        <uc2:bottom ID="bottom1" runat="server" />
    </form>
</body>
</html>
